package com.glela.platform.model;

import java.util.Date;

/**
 * @author gwq 实名制认证
 */
public class UserIdCard {

	private Long id;
	private String realName;// 真实姓名
	private String cardNo;// 身份证号
	private String sex;// 性别
	private String address;// 地址
	private String idcardJson;// 第三方接口返回数据
	private Date birthday;// 生日期
	private Date createTime;// 创建时间
	private Date updateTime;// 修改时间
	private int code;// 验证结果
	private String message;// 验证结果

	
	
	public UserIdCard(int code, String message) {
		super();
		this.code = code;
		this.message = message;
	}

	public UserIdCard() {
		super();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIdcardJson() {
		return idcardJson;
	}

	public void setIdcardJson(String idcardJson) {
		this.idcardJson = idcardJson;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getCode() {
		return code;
	}

	public void CodeAndMessage(int code,String message) {
		this.code = code;
		this.message = message;
	}
	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
